/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.designless.business.dao;

import br.com.designless.business.entity.FutibaManagerEntity;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import javax.ejb.Local;

/**
 *
 * @author diogenes.feijo
 */
@Local
public interface DAOLocal<T extends FutibaManagerEntity> {

    public static final String JNDI_NAME = "br.com.designless.business.dao.DAOLocal";

    T salvar(T t);

    void excluir(T t);
    
    T buscar(Class classe, Serializable i);

    List<T> buscar(String namedQuery, Map<String, Object> parametros);

}